<?php $href=$this->url(array('alias'=>$folder['alias'],'wares'=>$item['alias']),'catalogItem')?>
<li class="clearfix">
<span class="image">
<?php $images=explode(',', trim($item['images']));?>
<?php if($images[0]):?>
	<a class="roundCorners" href="<?=$href?>">
		<?=$this->image_Helper($images[0])->crop()->resize(300,200,'fill')->render(array('class'=>'lazy'));?>
		<span class="plashka">
			<i>
			<b><?=$item['label'] ?></b>
			<?php if(isset($item['price'])&&($item['price']>0)):?>
				&nbsp;от&nbsp;<?=$filter->price($item['price'],"&nbsp;")?>&nbsp;р.
			<?php endif;?>
			</i>
		</span>
		<?php if($item['stripe']):?>
		<b class="stripe birka_cat_<?=$item['stripe']?>"></b>
		<?php endif;?>
	</a>
<?php endif;?>
</span>			
<span class="price"><?=$item['price']?></span>
<span class="info">
<table>
<tr>
<td style="padding:0 0 0 30px;">
	<?php if(isset($item['mat'])&&($item['mat']!="")):?>
		<span>Материал:<?=$this->escape($item['mat'])?></span>
	<?php endif;?>
	<?php $gab=array();
		if(isset($item['gab_length'])&&($item['gab_length']>0))	
		$gab[]='<i class="gab_length">'.$item['gab_length']."</i>";	
		
		if(isset($item['gab_width'])&&($item['gab_width']>0))	
		$gab[]='<i class="gab_width">'.$item['gab_width']."</i>";
		
		if(isset($item['gab_height'])&&($item['gab_height']>0))	
		$gab[]=$item['gab_height'];
		if(sizeof($gab)>0){
			$gab=implode('x',$gab);
			
		}else{
			$gab=false;
			
		}
		
	?>
	<?php if($gab):?>
		<span>Габариты.................................<?=$gab?></span>
	<?php endif;?>
	<?php 
	$sleep=array();
		if(isset($item['sleep_width'])&&($item['sleep_width']>0))	
		$sleep[]=$item['sleep_width'];
		if(isset($item['sleep_length'])&&($item['sleep_length']>0))	
		$sleep[]=$item['sleep_length'];
		if(sizeof($gab)>0){
			$sleep=implode('x',$sleep);
		}else{
			$sleep=false;
		}
	?>
	<?php if($sleep):?>
		<span>Спальное место:......................<?=$sleep?></span>
	<?php endif;?>
	<?php if(isset($item['mech']) && $item['mech']):?>
		<?php $href = $this->url(array('alias'=>$item['mech']['alias']),'mechItem') ?>
		<span>Механизм трансформации...<a href="<?=$href?>"><?=$item['mech']['label']?></a></span>
	<?php endif;?>
	</td>
	</tr>
	</table>
</span>


</li>